import org.junit.Assert;
        import org.junit.Test;
        import junit.framework.TestCase;
public class OperateTest {
    Operate operate = new Operate();
    String a = "((5*7+6)-1)/2#";
    String b = "(3+2)*2/5#";
    String c = "(1+2)/3#";
    @Test
    public  void  Test1() {
        Assert.assertEquals(20, operate.caculate(a));
        Assert.assertEquals(2, operate.caculate(b));
        Assert.assertEquals(1, operate.caculate(c));
    }
}

